package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Set;


/**
 * 刀具编码对象 查询条件类
 *
 * @author qijian
 * @date 2024-03-07
 */

@Data
@ToString
@TableName("sys_knife_code")
public class KnifeCodeQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "third_code_num", type = WhereTypeEnum.LIKE)
    private Long thirdCodeNum;
    @WhereType(filed = "first_type", type = WhereTypeEnum.LIKE)
    private String firstType;
    @WhereType(filed = "first_code", type = WhereTypeEnum.LIKE)
    private String firstCode;
    @WhereType(filed = "second_type", type = WhereTypeEnum.LIKE)
    private String secondType;
    @WhereType(filed = "second_code", type = WhereTypeEnum.LIKE)
    private String secondCode;
    @WhereType(filed = "third_type", type = WhereTypeEnum.LIKE)
    private String thirdType;
    @WhereType(filed = "third_code", type = WhereTypeEnum.LIKE)
    private String thirdCode;
    @WhereType(filed = "union_code", type = WhereTypeEnum.LIKE)
    private String unionCode;
    @WhereType(filed = "laser_code", type = WhereTypeEnum.LIKE)
    private String laserCode;

    @WhereType(filed = "laser_code_rule", type = WhereTypeEnum.LIKE)
    private String laserCodeRule;

    @WhereType(filed = "type", type = WhereTypeEnum.LIKE)
    private String type;

    @WhereType(fields = {"third_code_num", "first_type", "first_code", "second_type", "third_code", "union_code", "laser_code", "laser_code_rule", "type"}, type = WhereTypeEnum.LIKE)
    private String condition;


}
